<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../normal/normalize.css">
    <style>
        .item{
            background-color: aqua;
            border: 5px solid silver;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
         
        }
        img{
            max-width: 90%;

        }
        span{
            font-size: 16px;
            line-height: 20px;
        }
        .grid{
            padding: 10px;
            width: 100vw;
            height: 400px;
            display: grid;
            /* 行控制 */
            grid-template-rows: 1fr 1fr 1fr;
            /* grid-template-rows: repeat(3,1fr); */
            /* 列控制 */
            /* grid-template-columns: repeat(3,1fr); */
            grid-template-columns: 1fr 1fr 1fr;
            /* 行列间距 */
            /* gap: 20px; */
            gap: 20px 10px;
        }
    </style>
</head>
<body>
    <div class="grid">
        <div class="item">
            <img src="../img/0.png" alt="">
            <span>
                hello
            </span>
        </div>
        <div class="item">2</div>
        <div class="item">3</div>
        <div class="item">4</div>
        <div class="item">5</div>
        <div class="item">6</div>
        <div class="item"></div>
    </div>
</body>
</html>